package my.edu.constant;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Data
@ConfigurationProperties(prefix = "customer.data") // 配置文件的前缀
@Component
public class CustomerPaymentTerms {
    private List<String> paymentTerms;
}
